package timing.ukulele.storage.vo.map;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import timing.ukulele.storage.entity.NodeEntity;
import timing.ukulele.storage.vo.NodeTreeVO;


@Mapper
public interface NodeMapper {
    NodeMapper INSTANCE = Mappers.getMapper(NodeMapper.class);


    @Mappings(value = {
            @Mapping(target = "node", ignore = true)
    })
    NodeTreeVO entity2VO(NodeEntity entity);

}
